package com.angel.email.services;

import org.apache.commons.mail.Email;

import com.angel.email.builder.EmailBuilder;
import com.angel.email.configuration.builders.IncomingEmailConfigurationBuilder;
import com.angel.email.response.EmailMessagesResponse;

/**
 *
 * @author William
 *
 */
public interface EmailService {

	public void sendEmail(Email email);

	public void sendEmail(EmailBuilder emailBuilder);

	public EmailMessagesResponse receivedEmailsFrom(String folderName, Integer maximumQuantity, IncomingEmailConfigurationBuilder incomingEmailConfigurationBuilder);
}
